package com.novax.ex.activity.open.model.response;

import com.novax.ex.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * Description: 一元购-轮播图
 *
 * @author Deucalion@novax.email
 * @date 2023/3/16 9:56
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "一元购-轮播图")
public class MallBannerResponse extends BaseEntity {
    /**
    * H5图片
    */
    @Schema(description = "H5图片",required = true)
    private String image;

    /**
    * H5链接地址
    */
    @Schema(description = "H5链接地址",required = true)
    private String link;

    /**
    * web图片
    */
    @Schema(description = "web图片",required = true)
    private String webImage;

    /**
    * 链接地址
    */
    @Schema(description = "链接地址",required = true)
    private String webLink;

    /**
    * 语言
    */
    @NotBlank
    @Schema(description = "语言",required = true)
    private String language;

    /**
    * banner排序
    */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 是否展示:1=显示,-1=隐藏
     */
    @Schema(description = "是否展示:1=显示,-1=隐藏")
    private Integer isShow;
}
